package br.ucb.mercadojogador.beans;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table (name="logs")
public class MercadoLog {
	private String logger;
	private String level;
	private String message;
	private Date data;
	
	public MercadoLog(){}

	@Id
	public String getLogger() {
		return logger;
	}
	
	public void setLogger(String logger) {
		this.logger = logger;
	}

	@Column
	public String getLevel() {
		return level;
	}

	public void setLevel(String level) {
		this.level = level;
	}

	@Column
	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	@Column
	public Date getData() {
		return data;
	}

	public void setData(Date data) {
		this.data = data;
	}
	
}
